# cmake 版本指定
cmake_minimum_required(VERSION 3.0.0)
# 工程名称 cpp11 版本号 0.1.0
project(GameServer VERSION 0.1.0)

# 设置C++版本
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED on)

set(PRJ_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_MODULE_PATH ${PRJ_ROOT_PATH}/cmake/)

include(Platform)
include(BuildHelper)

set(res_res_folders
    "${CMAKE_CURRENT_SOURCE_DIR}/res/res"
    )
set(res_src_folders
    "${CMAKE_CURRENT_SOURCE_DIR}/res/luasrc"
    )
add_subdirectory(${PRJ_ROOT_PATH}/src)
